package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

public interface PermissionService {
    //分页查询
    PageResult findPage(QueryPageBean queryPageBean);


    void add(Permission permission);

    void delete(Integer id);


    void edit(Permission permission);

    Permission findById(Integer id);
}
